
/*
 * Copyright (C) 2010 Bitglue. All rights reserved.
 *
 * $Id: Deployment.java bself $
 */

package com.bitglue.osgi.model;

import java.util.Date;

/**
 * Deployment model for persisting module resource
 * deployment history metadata.
 * @author Bryan Patrick Self
 */
public class Deployment {

    private String source;
    private String module;
    private String version;
    private boolean exclude;
    private String extension;
    private String repoEntry;
    private Date lastDeploy;

    public String getSource() {
        return source;
    }
    public void setSource(String source) {
        this.source = source;
    }

    public String getModule() {
        return module;
    }
    public void setModule(String module) {
        this.module = module;
    }

    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }

    public String getExtension() {
        return extension;
    }
    public void setExtension(String extension) {
        this.extension = extension;
    }

    public boolean isExclude() {
        return exclude;
    }
    public void setExclude(boolean exclude) {
        this.exclude = exclude;
    }

    public String getRepoEntry() {
        return repoEntry;
    }
    public void setRepoEntry(String repoEntry) {
        this.repoEntry = repoEntry;
    }

    public Date getLastDeploy() {
        return lastDeploy;
    }
    public void setLastDeploy(Date lastDeploy) {
        this.lastDeploy = lastDeploy;
    }

}
